package com.yunhe.estatemanage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;
/**
 * @description 事件满意度表
 * @author misty
 * @date 2021-09-06
 */
@Data
@ApiModel("事件满意度表")
public class IncidentSatisfactionTable implements Serializable {


    private static final long serialVersionUID = -1324207554891804792L;
    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 事项id
     */
    @ApiModelProperty("事项id")
    private Long reportForRepairId;

    /**
     * 满意度分值
     */
    @ApiModelProperty("满意度分值")
    private double satisfactionScore;

    /**
     * 反馈建议
     */
    @ApiModelProperty("反馈建议")
    private String feedback;

    /**
     * 组织id
     */
    @ApiModelProperty("组织id")
    private Long orgId;

    /**
     * 企业id
     */
    @ApiModelProperty("企业id")
    private Long companyId;

    /**
     * 归属园区id
     */
    @ApiModelProperty("归属园区id")
    private Long stationId;

    /**
     * 厂房id
     */
    @ApiModelProperty("厂房id")
    private Long officeId;

    /**
     * 联系人id
     */
    @ApiModelProperty("联系人id")
    private Long contactPersonId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    public IncidentSatisfactionTable() {}
}